package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.bean.dto.RemovalReportDataDto;
import cn.com.cifi.mars.entity.DmDmRemovalReport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author plx
 * @since 2020-03-30
 */
public interface DmDmRemovalReportMapper extends BaseMapper<DmDmRemovalReport> {

    void insertSync(@Param("endDate")String endDate, @Param("endTime") String endTime, @Param("endYear") String endYear, @Param("endMonth") String endMonth);

	List<String> getProjectIds(@Param("divisionList") List<String> divisionList, @Param("projectIdList") List<String> projectIdList);

	List<RemovalReportDataDto> selectRemovalReportDataList(@Param("latestEndDate") String latestEndDate,@Param("projectIds") List<String> projectIds,@Param("projectIdList") List<String> projectIdList);

	void removeTmp01DmDmValueReport();
	
	void syncRemovalLevle(@Param("yearMonth")String yearMonth);
	
	void removeTmp02DmDmValueReport();
	
	void syncRemovalLevleRelation(@Param("yearMonth")String yearMonth);

	void removeTmp03DmDmValueReport();
	
	void syncRemovalBuildBase(@Param("yearMonth")String yearMonth);

	void syncRemovalProductBase(@Param("yearMonth")String yearMonth);

	void syncRemovalProProductBase(@Param("yearMonth")String yearMonth);

	void syncRemovalGroupBase(@Param("yearMonth")String yearMonth);

	void syncRemovalStageBase(@Param("yearMonth")String yearMonth);

	void syncRemovalProjectBase(@Param("yearMonth")String yearMonth);

	void removeDmDmValueReportSummary(@Param("yearMonth") String yearMonth);

	void syncRemovalBuildData(@Param("yearMonth") String yearMonth);

	void syncRemovalProductData(@Param("yearMonth") String yearMonth);

	void syncRemovalProProductData(@Param("yearMonth") String yearMonth);

	void syncRemovalGroupData(@Param("yearMonth") String yearMonth);

	void syncRemovalStageData(@Param("yearMonth") String yearMonth);

	void syncRemovalProjectData(@Param("yearMonth") String yearMonth);

	

	

}
